home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
gawk
/
gawk213b.zoo
/
test
/
zap_cpp.awk
< prev
Wrap
Text File
|
1991-04-06
|
258b
|
14 lines
# this will remove (comment out) all preprocessor traces from
# cpp produced files:
# run this awk program as follows
# awk -f zap_cpp.awk <file>
# end redirect output where you want it to
NF > 0 {
if ($1 ~ /^#/)
print "/*", $0, "*/"
else
print
}